#include <QtGui/QApplication>
#include <QDesktopWidget>
#include <QtOpenGL>

#include "GraphicsView.h"
#include "Scene.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

        CGraphicsView view;
        CScene scene(640, 480);

        QGLWidget *glWidget = new QGLWidget();
        view.setViewport(glWidget);
        view.setScene(&scene);
        view.setGeometry(200, 200, 640, 480);
        view.show();

    return a.exec();
}
